lcWndHoverText Home

Defines hover text.

 BOOL lcWndHoverText (
   HANDLE hLcWnd,
   LPCWSTR szText,
   int X,
   int Y,
   int Align
 );

Parameters
hLcWnd
  Handle to a graphics window.
szText
  Text contents.
If empty string is specified, then X, Y, Align parameters are ignored.
X Y
  Text position in a window (window coordinates, pixels)
Align
  Text alignment relative to the position. Can be one of the following values:

Value Mode
LC_TA_LEFBOT to left bottom corner
LC_TA_CENBOT to center of bottom line
LC_TA_RIGBOT to right bottom corner
LC_TA_LEFCEN to left side of vertical center line
LC_TA_CENTER to center of bounding rectangle
LC_TA_RIGCEN to right side of vertical center line
LC_TA_LEFTOP to left top corner
LC_TA_CENTOP to center top


Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample